package cn.sciento.onelink.sim.aggregative.status.number;

import cn.sciento.onelink.CommonResponse;
import cn.sciento.onelink.LinkRequest;
import cn.sciento.onelink.utils.TransIdUtil;
import lombok.Data;

import java.util.HashMap;

/**
 * 集团生命周期各状态用户数查询
 * @author waltonlee
 */
@Data
public class SimStatusNumberRequest extends LinkRequest<CommonResponse<SimStatusNumberResult>> {
    private String appId;
    private String token;

    public SimStatusNumberRequest(String appId, String token) {
        super(Method.GET);
        this.appId = appId;
        this.token = token;
        this.path = "/ec/query/ec-sim-status-number";
        HashMap<String, Object> bodyMap = new HashMap<String, Object>();
        bodyMap.put("transid", TransIdUtil.generate(appId));
        bodyMap.put("token",token);
        this.setCompleteUrl(this.path,bodyMap);
    }
}
